package com.heima.apis.wemedia;

import com.heima.apis.wemedia.fallback.WemediaClientFallback;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.pojos.ApUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "leadnews-wemedia", fallback = WemediaClientFallback.class)
public interface IWemediaClient {

    @PostMapping("/wemedia/queryWmUser")
    public ResponseResult createWmUser(@RequestBody String apUser);
}
